package com.lcx.movie.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lcx.movie.entity.ScheduleSeat;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ScheduleSeatService extends IService<ScheduleSeat> {

    /**
     * 检查当前影厅是否有座位信息
     * @param hallId 影厅id
     * @return 受影响的行数
     */
    public int getSeatsByHallId(int hallId);

    List<ScheduleSeat> scheduleByScheduleId(Integer scheduleId);
}
